package com.lwlk.zdk.mapper.T;

import com.lwlk.zdk.model.T.TDisDictionary;
import com.lwlk.zdk.model.T.TDisDictionaryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TDisDictionaryMapper {
    int countByExample(TDisDictionaryExample example);

    int deleteByExample(TDisDictionaryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TDisDictionary record);

    int insertSelective(TDisDictionary record);

    List<TDisDictionary> selectByExample(TDisDictionaryExample example);

    TDisDictionary selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TDisDictionary record, @Param("example") TDisDictionaryExample example);

    int updateByExample(@Param("record") TDisDictionary record, @Param("example") TDisDictionaryExample example);

    int updateByPrimaryKeySelective(TDisDictionary record);

    int updateByPrimaryKey(TDisDictionary record);

    List<Map<String, Object>> selectIndustry(@Param("industryType") String industryType);

    List<TDisDictionary> selectBusinessScope();

    List<TDisDictionary> selectIndustryType();

    List<Map<String, Object>> selectAssessPeriod();

    String selectVehicleColor(@Param("vehicelColor") String vehicelColor);

    String selectAlarmType(@Param("alarmType") String alarmType);

    String selectByItemValue(@Param("s") String s);

    String selectIndustryId(@Param("industryTypeId") String industryTypeId);

    List<Map<String,Object>> selectVehicleAlarmType();

    String selectDgName(@Param("s") String s);


    String selectVehicleType(@Param("vehicleType") String vehicleType);

    List<Map<String, Object>> selectMessageType();

    List<Map<String, Object>> selectVehiclePhoto();

    List<Map<String,Object>> selectAll(@Param("itemType")String itemType,@Param("itemName")String itemName,@Param("itemValue")String itemValue);
}